<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
	<link href="mstatic/css/bootstrap.min.css"  type="text/css" rel="stylesheet">
	<link href="mstatic/css/jquery-ui.css"  type="text/css" rel="stylesheet">
	<link href="mstatic/css/index.css" type="text/css" rel="stylesheet">
	<title>通知--上级通知-查看</title>
</head>

<body>
<!--头部-->
<nav class="navbar navbar-default navbar-fixed-top  top" role="navigation">
	<div class="container-fluid">
		<div class="navbar-header" style=" width:100%;"> <a class="navbar-brand" href="javascript:history.go(-1);"  style=" width:100%;  padding-right:0px;"> <span class="glyphicon glyphicon-arrow-left white"></span>
				<!--    <span class="glyphicon glyphicon-pause white" style="margin-left:2%;"></span>-->
				<span class="white" style="margin-left:10%">通知-查看</span> <span class="glyphicon glyphicon-user white" style="float:right"></span> </a> </div>
	</div>
	<!-- /.container-fluid -->
</nav>
<!--头部 end-->
<!--主体部分-->
<div class="container" style="margin-top:70px;">
	<div class="row row_margin">
		<table class="table table-bordered  text-center">
			<tr>
				<td>标题：</td>
				<td>{%$notice_data.notice_title%}</td>
			</tr>
			<tr>
				<td>发布部门：</td>
				<td>{%$notice_data.department_name%}</td>
			</tr>
			<tr>
				<td>发布内容：</td>
				<td><p>{%$notice_data.notice_content%}</p></td>
			</tr>
			<tr>
				<td>发布时间：</td>
				<td>{%$notice_data.start_time%}</td>
			</tr>
			<tr>
				<td>附件：</td>
				<td><a href="index.php?a=notice.output&notice_file={%$notice_data.notice_file%}">{%$notice_data.notice_file%}</a></td>
			</tr>
			<tr>
				<td colspan="2"><h5>阅读记录列表（红色：未阅读用户）</h5></td>
			</tr>
			<tr>
				<th class="text-center">用户</th>
				<th  class="text-center">阅读用户</th>
			</tr>
			<tr>
				<td>老师</td>
				<td>{%foreach from=$staff_name key=key item=value%}
					{%if $value.is_read ==1%}
					<span >{%$value.staff_name%}</span>，
					{%else%}
					<span style="color:red;">{%$value.staff_name%}</span>，
					{%/if%}
					{%/foreach%}</td>
			</tr>
			<tr>
				<td>学生</td>
				<td>{%foreach from=$student_name key=key item=value%}
					{%if $value.is_read ==1%}
					<span >{%$value.student_name%}</span>，
					{%else%}
					<span style="color:red;">{%$value.student_name%}</span>，
					{%/if%}
					{%/foreach%}</td>
			</tr>
		</table>
	</div>
	<!--row  end-->

	<!--  <div class="row row_margin" >
          <button type="button" class="btn btn-primary btn-lg btn-block btn-primary2">确定</button>
          </div>-->
</div>
<!--container  end-->
<!--主体部分  end-->
<!--底部-->
{%include file="m.index.footer.tpl.php"%}
<!--container  end-->

<!--底部end-->
<script src="mstatic/js/jquery.min.js" type="text/javascript"></script>
<script src="mstatic/js/bootstrap.min.js"  type="text/javascript"></script>
<script src="mstatic/js/jquery-ui.js"  type="text/javascript"></script><!--日历-->

<!--日历-->
<script>
	$(function() {
		$( "#datepicker" ).datepicker({
			minDate: new Date(1953, 11, 31),
			maxDate: new Date(2015, 11, 31),
			changeMonth: true,
			changeYear: true

		});

		$( "#datepicker2" ).datepicker({
			minDate: new Date(1953, 11, 31),
			maxDate: new Date(2015, 11, 31),
			changeMonth: true,
			changeYear: true

		});
	});
</script>
</body>
</html>
